
export class PlanetResource {
    id = 0
    planetId = 0
    itemId = 0
    total = 0
    remain = 0
    recover = 0
}

// export let planetResourceData: Array<PlanetResource> = []
//
// export let planetResourceMap = new Map<number, PlanetResource>()
//
// export let loadPlanetResourceData = () => {
//     planetResourceData = data.planetResourceData
//     for (let planetResource of planetResourceData) {
//         planetResourceMap.set(planetResource.id, planetResource)
//     }
// }